package com.tiancheng.trade.payment.service;

import com.tiancheng.trade.payment.model.SettleMatchRefund;

import java.util.List;
import java.util.Map;

/**
 * @author kellen
 * @date 2021/2/2
 */
public interface SettleMatchRefundService {
    Integer saveBatch(List<SettleMatchRefund> list);
    List<Map<String,Object>> findByRefundFlowIds(List<String> subOrderIds, String settleStatus);

    /**
     * 查询划付失败但是抽佣成功的退款单
     * @param refundFlowIds  退款流水号集合
     * @return
     */
    List<Map<String,Object>> findApprFailAndDistSecFlowDetail(List<String> refundFlowIds);

}
